<!-- 提现记录 -->
<template>
	<view>
		<dcp-scroller :isLoading="isLoading" @refresh="refresh">
		<view class="list" v-for="(item,index) in list" :key="index">
			<view class="list-left">
				{{item.money}}元
			</view>
			<view class="list-right">
				<view class="title">
					{{item.biz_name}}
				</view>
				<view class="time">{{item.create_time}}</view>
			</view>
		</view>
		</dcp-scroller>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[
					{
						money:'-10',
						biz_name:'提现',
						create_time:'2021-12-01 10:18:08'
					},
					{
						money:'-10',
						biz_name:'提现',
						create_time:'2021-12-01 10:18:08'
					},
					{
						money:'-10',
						biz_name:'提现',
						create_time:'2021-12-01 10:18:08'
					}
				],
				isPullDown:false,
				page:1,
				isLoading: false,
			};
		},
		methods:{
			// 下拉刷新
			 refresh() {
				this.isLoading = true;
				let that = this
				setInterval(function(){
				  that.isLoading = false;
				},500)
			 }, 
		},
		onLoad() {
			
		},
		//监听页面刷到底
		onReachBottom() {
			// 触底
			
		  
		},
	}
</script>
<style>
	page{
		background-color: #fff;
		padding-bottom: 50rpx;
	}
</style>
<style scoped lang="less">
.list{
	width: 100%;
	height: 128rpx;
	padding:0 32rpx;
	box-sizing: border-box;
	border-bottom: 1rpx solid #edeeed;
	display: flex;
	flex-flow:row wrap;
	justify-content: space-between;
	
}
.list-left{
	height: 100%;
	display: flex;
	align-items: center;
	font-size: 30rpx;
	color: #57bb3a;
}
.list-right{
	padding-top: 34rpx;
	box-sizing: border-box;
	.title{
		height: 30rpx;
		line-height: 30rpx;
		font-size: 26rpx;
		color: #000;
		text-align: right;
	}
	.time{
		height: 33rpx;
		line-height: 33rpx;
		font-size: 23rpx;
		color: #bbbbbb;
		text-align: right;
		margin-top: 10rpx;
	}
}
</style>
